package day1204_2;

public class Stallone  extends  Thread{//1.创建类并写run
    public static void main(String[] args) {
        Stallone  shiTaiLong=new Stallone();//2.创对象
        shiTaiLong.start();//3.用对象调用start()
    }
    public void run() {
        for(int i=1;i<2100000000;i++)
                 System.out.println("嚯嚯嚯嚯");
    }
}
//创建Stallone对象,     调用对象的start()